package com.boco.pciv.common.exception;

/**
 * Created by CC on 2017/8/30.
 * 业务异常枚举
 */
public enum BizExceptionEnum  {
    User_NOTFOUND (-2001,"用户不存在")
    ;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    private String msg;
    private int code;

    BizExceptionEnum(int code,String msg) {
        this.msg = msg;
        this.code = code;
    }
}
